<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="<%=basePath%>">  
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加科室</title>
</head>
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css"> 
<script type="text/javascript" src="js/jquery.min.js"></script> 
<body>
	<div style="padding:15px 30px">
		<form id="dictionarySubGrade" method="post" enctype="multipart/form-data">
			<input type="hidden" name="id" />
			<input type="hidden" name="id" />
			<div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="key" name="key" style="width:100%" data-options="label:'标识:',required:true,missingMessage:'标识必须填写'">
	        </div>
			<div style="margin-bottom:18px">
	            <input class="easyui-textbox" id="value" name="value" style="width:100%" data-options="label:'数据值:',required:true,missingMessage:'必须填写'">
	        </div>
	        
	        <div style="margin-bottom:18px">
				<label style="padding-right: 55px;">类型:</label>
	    		<select id="parentid" class="easyui-combobox" name="parent.id"
	    			   data-options="valueField:'id',textField:'value',url:'dictionary/parent'" style="width:40%">
	    		</select>
			</div>
		</form>
	</div>
</body>
</html>